import axios from "@/utils/request";
import API from "./index";

export function getPellet(params) {
    return axios({
        method: "get",
        url: `${API.PELLET}/get`,
        params,
    });
}

export function savePellets(data) {
    return axios({
        method: "post",
        url: `${API.PELLET}/save`,
        data
    });
}
